/*
 * @Author: 搁浅小时光 mork_wu@163.com
 * @Date: 2022-06-30 09:57:50
 * @LastEditors: 搁浅小时光 mork_wu@163.com
 * @LastEditTime: 2022-06-30 15:04:08
 * @FilePath: \limsVite\src\router\index.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// index ts
import { createRouter,createWebHistory } from "vue-router";
// import HelloWorld from '../components/HelloWorld.vue'
const  routes = [
    {
        path: '/',
        redirect: '/index'
      },
    {
        path:'/index',
        component:()=> import('@/views/index.vue')
        // component:HelloWorld
    }
] 
export default createRouter({
    history:createWebHistory(),
    routes
})